<?php
/**
 *
 * @authors xiadx (xiadx@zpdchina.com)
 * @date    2017-03-06 17:55:08
 * @version $Id$
 */

class DataHulijiluTemplateSubExtendModel extends BaseModel {

    public function ls()
    {
    	$query = DB::select('id,sub_template_id,template_id')
    				->from('data_hulijilu_template_sub_extend')
    				->where('yiyuan_id', '=', $this->yiyuan_id)
    				->execute()
    				->as_array();
		return $query;
    }
}
